Managing Installation of Applications on a Computer Device

ABSTRACT

A user account that does not have administrator privileges may request mounting of a disk image prior to installing a new application. An agent, registered with operating system, receives notification and determines whether or not to allow mounting of the disk image. If so, the agent causes the disk image to be mounted by the operating system. The agent examines the mounted disk image to detect an application bundle. The agent determines whether or not to proceed with installation of the application bundle and, if so, then causes the application bundle to be copied to a privileged system location, thereby installing the application on the computer device.

RELATED APPLICATIONS

This application is a U.S. Utility from G.B. Application No. 1714048.4, filed Sep. 1, 2017, the disclosures of each of which are incorporated herein by reference in their entirety.

TECHNICAL BACKGROUND

The present invention relates generally to the field of computers and computer devices. More particularly, the present invention relates to a computer device and to a method of managing installation of applications on a computer device.

BACKGROUND

It is desirable to implement a least-privilege access security model, whereby each user is granted only a minimal set of access privileges by way of their standard user account. This model is useful, for example, to reduce the risk of attacks from malicious software (malware).

A difficulty arises in that a relatively high privilege level, such as an administrator level, is normally required in order to successfully install a new application. Hence, there is a need to provide a mechanism for installing the application, this mechanism being operable by a user account which does not have appropriate administrator privileges.

Another difficulty arises in that the mechanism should be appropriate for a large group of users with widely diverse skills. Ordinary users often have difficulty in correctly operating their computer device to install a new application correctly and safely, or else require a high degree of training and support.

The example embodiments have been provided with a view to addressing at least some of the difficulties that are encountered in current computer systems, whether those difficulties have been specifically mentioned above or will otherwise be appreciated from the discussion herein.

SUMMARY

According to the present invention there is provided a computer system, a computer-implemented method and a computer-readable storage medium as set forth in the appended claims. Additional features will be apparent from the dependent claims, and the description herein.

There now follows a summary of various aspects and advantages according to certain embodiments. This summary is provided as an introduction to assist those skilled in the art to more rapidly assimilate the detailed discussion herein and is not intended in any way to limit the scope of the claims that are appended hereto.

In one example, a user account that does not have administrator privileges may request mounting of a disk image prior to installing a new application. An agent, which is registered with operating system, receives a notification and determines whether or not to allow mounting of the disk image. If so, the agent causes the disk image to be mounted by the operating system. The agent then examines the mounted disk image to detect an application bundle. The agent determines whether or not to proceed with installation of the application bundle and, if so, then causes the application bundle to be copied to a privileged system location, thereby installing the application on the computer device.

In one example there is described a method of managing installation of an application on a computer device, comprising: receiving, by an agent on the computer device, a notification in response to a user request to mount a disk image; deciding, by the agent in response to the notification, whether to allow mounting of the disk image and, if so, causing the disk image to be mounted by the computer device; detecting, by the agent, an application bundle within the disk image after mounting; and determining, by the agent in response to detecting the application bundle within the mounted disk image, whether to action installation of the application bundle and, if so, causing the application bundle to be copied to a privileged system location in the computer device, thereby installing the application on the computer device.

In one example, there is described a computer device having a memory and a processor which are configured to perform any of the methods discussed herein.

In one example, a tangible non-transitory computer-readable storage medium is provided having recorded thereon instructions which, when implemented by a computer device, cause the computer device to be arranged as set forth herein and/or which cause the computer device to perform any of the methods as set forth herein.

BRIEF DESCRIPTION OF THE DRAWINGS

For a better understanding of the invention, and to show how example embodiments may be carried into effect, reference will now be made to the accompanying drawings in which:

FIG. 1 is a schematic overview of an example computer device as part of a computer network;

FIG. 2 is a schematic view of the example computer device in operation;

FIG. 3 is a schematic view of the example computer device in more detail;

FIG. 4 is a schematic view of the example computer device in more detail; and

FIG. 5 is a flowchart of an example method of operating the computer device.

DETAILED DESCRIPTION

The following description illustrates example embodiments of a mechanism for managing installation of an application on a computer device. The example mechanism is simple and convenient for a user, and is relatively lightweight to implement. Further, the example mechanism will uphold security of computer devices while enabling applications to be installed by users themselves and with minimal support or supervision. Many other advantages and improvements will be appreciated from the discussion herein.

The example embodiments are discussed in detail in relation to computer devices using UNIX or Unix-like operating systems, including particularly the ‘macOS’ family of operating systems (known previously as ‘OS X’ and before that ‘Mac OS X’) provided by Apple, Inc. of Cupertino, Calif., USA. As will be familiar to those skilled in the art, Unix-like operating systems include those meeting the Single UNIX Specification (‘SUS’), along with similar systems such as implementations of Linux, BSD and several others. Hence, the teachings, principles and techniques as discussed below are also applicable in other specific example embodiments. In particular, the described examples are useful in many computer devices having a security model which employs discretionary access control.

FIG. 1 is a schematic overview of a set of computer devices as part of a computer network. In this simplified example, a computer device 200 is coupled by a network 10 to a set of servers 20. For example, the network 10 can be a private network, a virtual private network, an intranet, a cloud, or the Internet. In practice, computing environments for large-scale corporations will typically include many thousands of individual end-user computer devices 200 coupled to many tens or many hundreds of servers 20.

Each end-user computer device 200 may take any suitable form factor. As examples, the device 200 might be a desktop computer, a portable computing device, laptop, tablet, smartphone, wearable device, or an emulated virtual device on any appropriate host hardware. The illustrated computer device 200 comprises a layer of hardware (H/W) 201, which suitably includes memory, processors (CPU central processor units), I/O input/output interfaces (e.g. NIC network interface cards, USB universal serial bus interfaces, etc.), storage (e.g. solid state non-volatile storage or hard disk drive), and so on. An operating system 202 runs on the hardware layer 201 to provide a runtime environment for execution of user processes and productivity applications 220. This runtime environment typically provides resources such as installed software, system services, drivers, and files. In this illustration, the applications 220 include an email client which is used to send and receive email messages. Of course, many other types of software application are available and can be provided according to the needs of the user of each particular device.

In this example, the operating system 202 applies a security model wherein access privileges are based on a user account 210. The operating system 202 may define privilege levels appropriate to different classes of users, or groups of users, and then apply the privileges of the relevant class or group to the particular logged-in user (e.g. ordinary user, super-user, local administrator, system administrator, and so on). The user is authenticated such as by logging-in to the computer device 200, e.g. with a user identity and password, and these user credentials may be validated locally or via a remote service such as a domain controller. The current user, via their previously prepared security account, thus acts as a security principal in the security model. The operating system 202 of the computer device 200 then grants appropriate privileges to the processes and applications 220 which execute in the security context of that primary user account 210.

In this example, the computer device 200 further comprises an agent 700. The agent 700 may comprise one or more software and/or hardware modules, such as executables, dynamic libraries (dylib in macOS), plug-ins, add-ins, add-ons or extensions. The agent 700 may operate as a daemon, which runs as a background process on the computer device. Alternately, when considering the Windows family of operating systems, the agent 700 may be a Windows service. The agent 700 is configured to operate in cooperation with the operating system 202 and the client applications 220. In particular, the agent 700 may provide and coordinate core capabilities for security of the computer device. The agent 700 suitably performs functions for implementing privilege management and application control.

When considering privilege management, it is desirable to implement a least-privilege access security model, whereby each user is granted only a minimal set of access privileges. However, many applications require a relatively high privilege level, such as a local administrator level, in order to install and operate correctly. Hence, in practice, there is a widespread tendency to grant additional privilege rights, such as the local administrator level, or a system administrator level, to all members of a relevant user group, and thus allow access to almost all of the resources of the computer device. This level of access may be greater than is desirable or appropriate from a security viewpoint. For example, there is a possibility of accidental tampering with the computer device, leading to errors or corruption within the computer device. Further, an infection or malware may access the computer device with the deliberate intention of subverting security or causing damage, such as by encrypting important data content and then demanding a ransom. In this example, the primary user account 210 has a relatively low privilege level. The agent 700 then selectively enables access to higher privilege levels, e.g. a local administrator level, when needed to perform certain tasks. Conversely, the agent 700 in some examples is also able to downgrade the privilege level, so that certain tasks are carried out at a privilege level lower than that of the current user account 210.

For application control, the agent 700 is arranged to ensure that only authorised applications 220 operate on the computer device 200. For example, the agent 700 is governed by rules based on trusted application types, thereby automatically stopping unapproved applications from running. There may be a sophisticated set of rules which define the conditions under which each application may operate, in relation to the intended host computer device 200 and the relevant user account 210. Thus, in this example, the email client application 220 will only be allowed to operate on the computer device 200 if permitted by the rules as used by the agent 700.

In one example, the agent 700 is coupled to a policy file 750. The policy file 750 stores a set of policies (rules) which define responses of the agent 700 to requested actions or tasks. A policy server 720 may be provided to make policy decisions based on the policy file 750. The policy server 720 may operate by receiving a policy request message, concerning a requested action and related meta-information, and returning a policy result based thereon. In one example, the agent 700 is configured to capture a set of identities, and may then provide these identities as part of the policy request. Such identities may include a user identity (UID) of the relevant user account, a group identity (GID) of a group to which that user account belongs, a process identity (PID) of a current process which has initiated the action or task in question, and/or a process identity of a parent process (PPID). Suitably, the policy server 720 determines an outcome for the request based on the provided set of identities relevant to the current policy request.

In one example, the policy file 750 is a structured file, such as an extensible mark-up language XML file. The policy file 750 is suitably held locally on the host device 200, ideally in a secure system location which is accessible to the agent 700 but which is not accessible by the user account 210. Updates to the policy file 750 may be generated elsewhere on the network 10, such as by using a management console 21 on one of the servers 20, and then pushed, or pulled, to each instance of the agent 700 on each device 200. The policy file 750 is readily updated and maintained, ensuring consistency for all devices across the network. In this way, the agent 700 is robust and manageable for a large-scale organisation with many thousands of individual computer devices 200. Also, the agent 700 is able to leverage rules which have been developed in relation to application control, such as defining user groups or user roles and related application permissions, and now extend those same rules also to privilege management, and vice versa.

In some examples, the agent 700 is configured to perform custom messaging. In particular, agent 700, whether acting directly or via a cooperating proxy or plugin, may present a message dialog to the user. This message dialog may be presented in a terminal from which a current action of interest was invoked by or on behalf of the user. Thus, the custom messaging may be presented on a display of the computer device 200 for interaction with the user. Input from the user may be returned to the agent 700 for evaluation. Hence, the agent 700 is able to interact with the user with a rich set of customizable messages.

In one example, the custom messaging may include at least one of a confirmation, a challenge-response, and a reason. In more detail, the confirmation may present a dialog which receives a binary yes/no type response, allowing the user to confirm that they do indeed wish to proceed and providing an opportunity to double-check the intended action. The custom messaging conveniently allows specific text, e.g. as set by the policy file 750, to be included in the dialog, such as reminding the user that their request will be logged and audited. As another option, the custom messaging may provide specific block messages, explaining to the user why their request has been blocked, thus enabling improved interaction with the user.

In one example, the custom messaging may require additional authentication to be presented by the user in order to proceed with the requested action. As an example, the additional authentication may require the user to again enter their username and password credentials, or may involve one or more of the many other forms of authentication (e.g. a biometric fingerprint or retinal scan) as will be appreciated by those skilled in the art. The challenge-response also allows alternate forms of authentication to be employed, such as a two-factor authentication. In one example, the challenge-response requires entry of a validation code, which might be provided such as from a second device or an IT helpdesk.

In one example, the reason allows the user to provide feedback concerning the motivation for their request, e.g. by selecting amongst menu choices or entering free text. Logging the reasons from a large set of users allows the system to be administered more efficiently in future, such as by setting additional rules in the policy file 750 to meet the evolving needs of a large user population.

Notably, custom messaging allows the agent 700 to provide a rich and informative set of interactions with the users. Each of these individual custom messaging actions may be defined in the policy file 750. The custom messaging may eventually result in a decision to allow or block the requested action. An appropriate allow or block operation is then carried out as required.

The agent 700 may perform auditing in relation to all requests or at least certain requests. The auditing may include recording the customised messaging, and may include recording an outcome of the request. Audit reports may be extracted or uploaded from each end-user device 200 such as to the management console 21 on the servers 20 at any suitable frequency. Each of these auditing functions may be defined in the policy 750.

In some examples, the agent 700 is configured to perform passive handing of a request. In this case, the request is presented to the originally intended recipient, typically within the operating system 202, and any responses may be returned transparently. In one example, passive handling is defined by the policy file 750. The agent 700 can meanwhile audit the requests which were handled passively, again consistent with the policy file 750. Notably, this passive handling function allows the action to proceed while the requesting user process or application is unaware of the agent 700 as intermediary. Advantageously, default behaviour of system is maintained for those actions that the agent 700 determines should have passive handling. Also, there is now a fail-safe option, in that the system will maintain an expected behaviour for actions that are passively handled. This passive handling is useful particularly in the event that a particular user or request is not specified in the policy file 750, because default behaviour is still enacted. Hence, the system can now quickly and safely supersede the original behaviour for specific situations, allowing rapid responses and network-wide consistency when needed, while still enabling existing legacy functionality and behaviour to continue in place for other actions, users and/or devices, as appropriate.

Installing Applications

FIG. 2 shows the computer device 200 in more detail in relation to an example mechanism for installing a particular new application 226, alongside a set of one or more existing applications 220. The agent 700 is configured to receive a notification from the operating system 202 in response to a user request to mount a disk image 222. In response to this notification, the agent 700 determines whether or not to allow mounting of the disk image 222 and, if so, the agent 700 causes the disk image 222 to be mounted by the operating system 202. The agent 700 now examines the mounted disk image 222 to detect an application bundle 224. The agent 700 determines whether or not to proceed with installation of the application bundle 224 and, if so, then causes the application bundle 224 to be copied to a privileged system location 214.

The application bundle 224 contains the resources that are required in order for the application 226 to execute on the computer device 200, using the runtime environment provided by the operating system 202. In one example, the application bundle 224 is a folder (file directory), which allows a plurality of related files to be grouped together. The resources within the application bundle 224 include the executable code relevant to the application 226. The application bundle 224 conveniently has a defined structure and is typically identified by a relevant file extension (e.g. ‘.app’ for macOS). In one example, the application bundle 224 is a package as an abstraction that is displayed graphically to the user as a single file or entity, but which actually contains a hierarchy of files or objects.

Typically, the application bundle 224 is deployed to the computer device 200 by way of the disk image 222. The disk image 224 is a file representing the structure and contents of a storage device, similar to a physical storage device such as a hard disk drive, optical disk (DVD) or solid state storage (USB flash drive). When such a physical storage device is coupled to the computer 200, then the device is mounted by the operating system 202 to become available to other components within the computer device 200. That is, plugging in a USB flash storage causes that device to be mounted. Similarly, a user can initiate mounting of a disk image 222, for example after downloading the disk image 222 over the network 10. Typically, the disk image 222 is identified with a ‘.dmg’ file extension.

The agent 700 may register with the OS 202 to receive the notification concerning mounting of the disk image 222. Suitably, the agent 700 registers with the OS 202 on boot-up. In one example, considering the ‘macOS’ family of operating systems, registration may be accomplished using a ‘DiscArbitration’ framework which provides framework for arbitration of disk operations. Hence, the agent 700 is sent the notification when, at some time subsequently, the OS 202 encounters a user request for mounting of the disk image 222.

The agent 700 suitably captures meta-data related to the disk image 222, which may include any one or more of: a file name of the disk image, a hash of the disk image and a signature. In some examples, the disk image 222 can be signed, e.g. using a code signing identity, to reliably establish an identity of the author or source of the disk image and content therein. Other metadata may also be used, such as a current path where the disk image 22 is located, and information relevant to the current session (UID, etc.) and the current computer device (host machine details).

As noted above, this meta-information allows the agent 700, appropriately via the policy server 720 and the policy file 750, to determine whether or not to proceed with mounting of the disk image 222. If so, the agent causes the disk image 222 to be mounted, by the operating system 202, or else blocks the mount. As discussed above, custom messaging may be employed by the agent 700 to obtain additional information of interest in relation to the mounting decision. Also, the custom messaging can be used to notify the user of a reason for blocking the mount.

Once mounted, the agent 700 suitably examines contents of the disk image 222. If an application bundle 224 is found to be contained in the mounted disk image, then the agent 700 determines an appropriate action. Again, the agent 700 may gather appropriate metadata relating to the identified application bundle 224, such as a signature, the identified current user, machine, etc. In some examples, the operating system may provide API function calls which return the desired information, such as Bundle Name, Bundle Creator, Bundle Type, Version, Bundle Executable. Also, if the bundle is signed, then these functions may also allow the certificate and hash to be retrieved. Alternatively, the agent 700 may itself generate a hash of the content of the bundle, which can then be matched against records in the policy file 750 of hashes for known and trusted bundles. For example, third-party functions such as QCryptographicHash allow a hash to be generated by the agent 700, suitably by integrating through all files in the bundle. Also, the agent 700 may employ custom messaging to obtain additional information, or provide additional information, in relation to the identified application bundle 224, prior to determining whether or not to proceed. For example, the agent 700 may prompt the user to confirm that they wish to proceed with installing the identified application bundle 224 from the disk image 222.

If installation of the application bundle 224 is approved, the agent 700 now initiates the process of copying the application bundle 224 into a privileged system location 214. In one example, applications are intended to reside in the system folder ‘/Applications’ in macOS. Copying the application bundle 224 into this system location 214 requires privileges associated with the administrator group. If the current user, through their user account 210, is a member of the administrator group then the copy can be performed by the user themselves, such as through a drag and drop operation. However, it is desirable for the current user account not to be a member of the administrator group, consistent with the least privilege principle. That is, the current user account 210 is excluded from a privilege level which is required in order for the copy operation to be permitted by the operating system 202. Hence, the user themselves will be denied the action of copying the application bundle 222 to the applications folder as a privileged system location 214. However, the agent 700 has appropriate (higher) privileges and thus is able to cause the copy operation to be successfully performed by the operating system 202. In some examples, the agent 700 is able to use file copy functions which are provided natively by the operating system 202 (e.g. NSFileManager in macOS including NSFileManager copyItemAtPath: toPath: error:), or appropriate third-party functions (e.g. Qt's QFile::copy). Hence, with this mechanism, standard users are now able to cause a desired application 226 to be installed, by copying the application bundle 224 to the relevant system location 214, with assistance from the agent 700. When the application bundle 224 has been copied to the appropriate system location 214, the application 226 is now installed and is available to be executed by the user when desired.

In some examples, the disk image 222 may include a short-cut to the relevant privileged system location 214 (typically the /Applications folder). Hence, the agent 700 may extract this short-cut from the content of the disk image 222 and apply the specified location when performing the copy operation.

FIG. 3 is a screenshot as an example of a user interface as would ordinarily be provided to the user for them to manually drag and drop an application bundle into a privileged system location. In this illustrative example, the disk image contains an application bundle for the application ‘docker’, and is to be copied to the ‘/Applications’ folder. Notably, the drag and drop operation, if attempted by the user not having sufficient privileges, would be denied by the operating system. However, by the mechanism described above, the agent 700 now enables the desired application to be installed.

As a further refinement, the agent 700 may identify that matching application bundle already exists in the target system folder and, in response, may prompt the user to confirm that they wish to over-write the current application bundle. Again, APIs in the operating system 202 may be employed, such as NSFileManager fileExistsAtPath: on macOS. This over-write function can be controlled by the agent 700 with reference to the policy file 750, including further custom messaging as appropriate.

FIG. 4 is a swim-lane diagram which illustrates the event sequence and example interactions of the agent 700 with the user and the operating system, consistent with the discussion already set out above. In this detailed example, when the agent daemon of the agent 700 is started (usually at boot), it requests notifications from the OS 202 (e.g. macOS) of whenever disk images have requested to be mounted. At some later point in time, the user requests to mount a disk image 222, which causes the agent 700 to be notified by the OS 202. The agent 700 consults its policy server 720 for the action to take, based on matching criteria of the disk image 222 and/or its contents and filters such as the current session user, machine details, and so on. According to the policy, the mounting of the disk image 222 may be blocked by the agent 700 and the user notified of the reason. Again according to the policy, the user may be prompted for information, such as, but not limited to, the reason for why they want to mount the disk image; a challenge-response code; authorization credentials; etc. The agent 700 verifies the user's response and if valid, allows mounting of the disk image 222. On examination of the contents of the disk image 222, the agent 700 may take further actions. If an application bundle 224 is contained in the mounted disk image 222, the policy server 720 is again consulted for action. According to the policy, the user may be prompted for additional information, such as, but not limited to, the reason for why they want to copy the application 226 residing in the mounted disk Image 222; a challenge response code; authorization credentials; etc. According to policy, if the copy is permitted, the agent 700 may prompt the user if they wish to copy the application bundle 224 from the disk image 222 to a system location 214, such as the /Applications folder. If the user approves the copy, the agent 700 will initiate the process of copying the application bundle 224 for the user. If a matching application bundle already exists in the target folder, the agent may prompt the user if they wish to overwrite the current application bundle, according to policy. Also, according to policy, all events occurring during this process, including user responses to prompts for information, may be audited by the agent 700.

FIG. 5 is a flow diagram illustrating an example method of installing an application on a computer device, again consistent with the discussion above. At step 501, the agent 700 on the computer system 200 receives a notification, in response to a user request to mount a disk image 222. At step 502, the agent 700 determines whether or not to allow mounting of the disk image 222, and, if so, causes the disk image 222 to be mounted, as at step 503. The agent 700 examines the mounted disk image at step 504 to detect the application bundle 224. If installation of the identified application bundle 224 is to be actioned then, as at step 506, the agent 700 causes the application bundle 224 to be copied from the mounted disk image 222 to a relevant privileged location 214 in the computer system (such as the ‘/Applications’ folder). The application 226 is thus installed and is now ready to be used. This process may be repeated as often as needed for each new application that is to be installed, and at any convenient time over the lifespan of the computer device.

The example mechanism has many benefits and advantages, as will now be appreciated from the discussion herein. In particular, installation of an application for each computer device in the network is managed more efficiently and with enhanced functionality. Application control typically determines whether or not to allow execution of an installed application, whereas the present mechanism takes control further upstream including the initial action of mounting the disk image. Thus, the mechanism better avoids downstream problems, such as mounting unauthorised disk images. Resultant issues are also addressed, such as unnecessary consumption of storage space on the computer device by mounting of disk images containing unauthorised applications.

At least some of the example embodiments described herein may be constructed, partially or wholly, using dedicated special-purpose hardware. Terms such as ‘component’, ‘module’ or ‘unit’ used herein may include, but are not limited to, a hardware device, such as circuitry in the form of discrete or integrated components, a Field Programmable Gate Array (FPGA) or Application Specific Integrated Circuit (ASIC), which performs certain tasks or provides the associated functionality. In some embodiments, the described elements may be configured to reside on a tangible, persistent, addressable storage medium and may be configured to execute on one or more processor circuits. These functional elements may in some embodiments include, by way of example, components, such as software components, object-oriented software components, class components and task components, processes, functions, attributes, procedures, subroutines, segments of program code, drivers, firmware, microcode, circuitry, data, databases, data structures, tables, arrays, and variables.

Although the example embodiments have been described with reference to the components, modules and units discussed herein, such functional elements may be combined into fewer elements or separated into additional elements. Various combinations of optional features have been described herein, and it will be appreciated that described features may be combined in any suitable combination. In particular, the features of any one example embodiment may be combined with features of any other embodiment, as appropriate, except where such combinations are mutually exclusive. Throughout this specification, the term “comprising” or “comprises” may mean including the component(s) specified but is not intended to exclude the presence of other components.

Although a few example embodiments have been shown and described, it will be appreciated by those skilled in the art that various changes and modifications might be made without departing from the scope of the invention, as defined in the appended claims. 

What is claimed is:
 1. A method of managing installation of an application on a computer device, comprising: receiving, by an agent on the computer device, a notification in response to a user request to mount a disk image; deciding, by the agent in response to the notification, whether to allow mounting of the disk image and, if so, causing the disk image to be mounted by the computer device; detecting, by the agent, an application bundle within the disk image after mounting; and determining, by the agent in response to detecting the application bundle within the mounted disk image, whether to action installation of the application bundle and, if so, causing the application bundle to be copied to a privileged system location in the computer device, thereby installing the application on the computer device.
 2. The method of claim 1, wherein the notification is received by the agent from an operating system of the computer device.
 3. The method of claim 2, wherein the notification is received by the agent responsive to the user request which is directed to the operating system to request mounting of the disk image by the operating system.
 4. The method of claim 1, further comprising registering, by the agent, with an operating system of the computer system, and wherein the notification is received by the agent from the operating system based on the registering.
 5. The method of claim 1, wherein the user request originates from a user account which does not have privileges to copy the application bundle to the privileged system location.
 6. The method of claim 1, further comprising consulting, by the agent, a policy file held on the computer device.
 7. The method of claim 6, wherein consulting the policy file is based on meta-data of the disk image as obtained by the agent, wherein the policy file is consulted prior to causing mounting of the disk image by the computer device.
 8. The method of claim 6, wherein consulting the policy file is based on meta-data of the application bundle as obtained by the agent, and wherein the policy file is consulted prior to causing the application bundle to be copied to a privileged system location in the computer device.
 9. The method of claim 6, wherein consulting the policy file is based on a set of identities as obtained by the agent relevant to the user request, the set of identities including at least a user identity of a user account from which the user request originated.
 10. The method of claim 6, further comprising performing custom messaging by the agent according to a policy result returned from consulting the policy file.
 11. The method of claim 10, wherein the agent performs the custom messaging prior to causing the disk image to be mounted by the computer device.
 12. The method of claim 10, wherein the agent performs the custom messaging prior to causing the application bundle to be copied to the privileged system location in the computer device.
 13. The method of claim 10, wherein the custom messaging includes at least one of a confirmation, a challenge-response, and a reason.
 14. The method of claim 6, wherein the agent consults the policy file though a policy server.
 15. The method of claim 1, further comprising performing auditing by the agent in relation to any one or more of the notification of the user request, the deciding by the agent to cause the disk image to be mounted by the computer device, and the determining by the agent to cause the application bundle to be copied to the privileged system location in the computer device.
 16. The method of claim 1, further comprising determining, by the agent, that a matching application bundle already exists in the privileged system location and, if so, deciding whether to overwrite the matching application bundle with the application bundle copied from the disk image.
 17. The method of claim 1, wherein the agent comprises a daemon which operates as a background process on the computer device.
 18. The method of claim 1, wherein the computer device comprises an operating system which is Unix-like.
 19. A computer device comprising: a memory circuit; and a processing circuit configured to manage installation of an application program on the computer device, wherein to manage the installation of the application program, the processing circuit is configured to: receive a notification in response to a user request to mount a disk image; determine, in response to receiving the notification, whether to allow mounting of the disk image and, if so, causing the disk image to be mounted by the computer device; detecting an application bundle within the disk image after mounting; and determine, in response to detecting the application bundle within the mounted disk image, whether to action installation of the application bundle and, if so, causing the application bundle to be copied to a privileged system location in the computer device, thereby installing the application on the computer device.
 20. A tangible non-transitory computer-readable storage medium having recorded thereon instructions which, when executed by a processing circuit of a computer device, cause the computing device to: receive a notification in response to a user request to mount a disk image; determine, in response to the notification, whether to allow mounting of the disk image and, if so, causing the disk image to be mounted by the computer device; detect an application bundle within the disk image after mounting; and determine, in response to detecting the application bundle within the mounted disk image, whether to action installation of the application bundle and, if so, causing the application bundle to be copied to a privileged system location in the computer device, thereby installing the application on the computer device. 